<?php if($medio_video->getOpcion() == 'youtube'):?>
    <div align="center">
        <object style="height: 390px; width: 640px">
            <param name="movie" value="http://www.youtube.com/v/<?php echo $medio_video->getBusquedaYoutube()?>?version=3&autoplay=1&showinfo=0&feature=player_embedded">
            <param name="allowFullScreen" value="true">
            <param name="allowScriptAccess" value="always">
            <embed src="http://www.youtube.com/v/<?php echo $medio_video->getBusquedaYoutube()?>?version=3&autoplay=1&showinfo=0&feature=player_embedded" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="640" height="385">
        </object>
    </div>
<?php else:?>
    <img src="../../../uploads/videos/<?php echo $medio_video->getFuente()?>"/>
<?php endif; ?>